<?php
try {
    $pdo = new PDO('sqlite:mydb1.db');
    $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $e) {
    die("连接失败: " . $e->getMessage());
}

$sql = "CREATE TABLE IF NOT EXISTS users1 (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    name TEXT NOT NULL,
    email TEXT UNIQUE,
    level INTEGER,
    uId TEXT NOT NULL,
	souc  INTEGER,
	dingy INTEGER,
    remark1 TEXT,
    remark2 TEXT,
    remark3 TEXT,
    remark4 TEXT,
    createDate TEXT,
    del TEXT
)";
$pdo->exec($sql);
?>